﻿<controls:ChildWindow 
    x:Class="FU.Capstones.IMS.Web.Silverlight.Popups.UndoDeleteConfirmationPopup"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
    Title="Xác nhận khôi phục bản ghi"
    Style="{StaticResource ChildWindowStyle}">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="10" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
            <Image Source="../Images/Warning.png"/>
            <TextBlock 
                Style="{StaticResource TextBlockNormalStyle}"
                Text="{StaticResource UndoDeleteConfirmationMessage}"
                />
        </StackPanel>
        
        <StackPanel 
            Orientation="Horizontal" Grid.Row="2" 
            HorizontalAlignment="Center" VerticalAlignment="Center">

            <Button 
                x:Name="OKButton" Content="Chắc chắn" 
                Click="OKButton_Click"
                Style="{StaticResource ButtonNormalStyle}"
                />
            
            <Button 
                x:Name="CancelButton" 
                Content="Hủy" 
                Click="CancelButton_Click" 
                Style="{StaticResource ButtonNormalStyle}"
                />
        </StackPanel>
    </Grid>
</controls:ChildWindow>